Skip to content

Conversation

@cristipufu
Copy link
Member

@cristipufu cristipufu commented Jul 21, 2025

Summary

This PR fixes an issue where the folderKey was not being sent during SignalR connection establishment. The fix moves folder key initialization logic from the registration phase to earlier in the execution flow and ensures it's included in SignalR connection headers.

  • Moved folder key retrieval logic from _register() method to the main execute() method
  • Added folder_key to the SignalR client connection headers

@cristipufu cristipufu self-assigned this Jul 21, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where the folderKey was not being sent during SignalR connection establishment. The fix moves folder key initialization logic from the registration phase to earlier in the execution flow and ensures it's included in SignalR connection headers.

Key changes:

  • Moved folder key retrieval logic from _register() method to the main execute() method
  • Added folder_key to the SignalR client connection headers
  • Updated context to include folder_key as a required field

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
cli_run.py Added folder_key initialization from environment variable
_runtime.py Moved folder key logic to execute() method and added to SignalR headers
_context.py Added folder_key field to runtime context
pyproject.toml Version bump to 0.0.97

@cristipufu cristipufu force-pushed the fix/send_folder_key_signalr branch from 0de20d8 to 6bdd820 Compare July 21, 2025 12:30
@cristipufu cristipufu merged commit 36c26ba into main Jul 21, 2025
6 checks passed
@cristipufu cristipufu deleted the fix/send_folder_key_signalr branch July 21, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants